package cn.icanci.loopstack.bic.web.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.NullValueMappingStrategy;

import cn.icanci.loopstack.bic.biz.mapper.convertor.NodeDataModeEnumConverter;
import cn.icanci.loopstack.bic.biz.mapper.convertor.NodeTypeEnumConverter;
import cn.icanci.loopstack.bic.common.model.graph.UnitViewTreeVO;
import cn.icanci.loopstack.bic.web.model.UnitViewTree;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/17 15:40
 */
@Mapper(componentModel = "spring", uses = { NodeDataModeEnumConverter.class, NodeTypeEnumConverter.class }, nullValueMappingStrategy = NullValueMappingStrategy.RETURN_NULL)
public interface UnitViewTreeWebMapper extends BaseWebMapper<UnitViewTree, UnitViewTreeVO> {
}
